package com.yangye.springclouddemozuul.config;

import com.yangye.springclouddemozuul.filter.AuthFilter;
import com.yangye.springclouddemozuul.filter.CustomFilter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by yangye on 2019/6/26
 */
@Configuration
public class FilterConfig {

	@Bean
	public AuthFilter authFilter() {
		return new AuthFilter();
	}

	@Bean
	public CustomFilter customFilter() {
		return new CustomFilter();
	}
}
